Api.WriteAxisProfileDeceleration 方法
設定軸的曲線減速度 (Profile Deceleration)。
命名空間:IntervalZero.KINGSTAR.OpcUa.Api
組合: IntervalZero.KINGSTAR.OpcUa.Api (於 IntervalZero.KINGSTAR.OpcUa.Client.dll) 版本:4.4.0.0
語法
public KsError WriteAxisProfileDeceleration(
int Index,
int Value
)
Public Function WriteAxisProfileDeceleration(
Index As Integer,
Value As Integer
) As KsError
參數
Index
型別:int
軸索引。索引以 0 為起始;別名將影響此參數。
Value
型別:int
欲寫入的值。
回傳值
型別:KsError
方法的回傳代碼。
備註
- 在週期回呼中使用,以更新軸的曲線減速度 (Profile Deceleration)。
-
此函式只能在手動模式中使用,請見 McControlMode 列舉。
注意:曲線減速度 (Profile Deceleration) 僅在 EnableProfilePosition 啟用時才可使用。
可用的 EtherCAT 狀態
ecatOP
範例
N/A
參見